package com.scs.application.modules.fsd.mapper;

import com.scs.application.core.mapper.IBaseMapper;
import com.scs.application.modules.fsd.entity.FsdGroupRole;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 */
@Repository
public interface GroupRoleMapper extends IBaseMapper<FsdGroupRole> {
    List<FsdGroupRole> getGroupsByRole(String id);

    List<FsdGroupRole> getRolesByGroup(String id);

    List<FsdGroupRole> getRolesByGroupIds(List ids);
}
